package com.jiajian.cm.mapper;

import com.jiajian.cm.domain.SysHall;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysHallMapper {
    //寻找所有影院，返回SysHall
    List<SysHall> findAllHalls(SysHall sysHall);
    //按照ID找单个影院，返回SysHall
    SysHall findHallById(SysHall sysHall);
    //添加影院，返回影院ID
    int addHall(SysHall sysHall);
    //修改影院，返回影院ID
    int updateHall(SysHall sysHall);
    //删除影院，返回影院ID
    int deleteHall(SysHall sysHall);
}
